export const mainPageList = [
  //tabbar页面
  { url: 'pages/tabbar/index/index', needLogin: false },//介绍
  { url: 'pages/tabbar/mine/index', needLogin: false },//个人中心
  { url: 'pages/user/login/index', needLogin: false },//登录页面
  { url: 'pages/bussiness/verification/index', needLogin: false },//核销员
  { url: 'pages/bussiness/verificationTicket/index', needLogin: true },//核销门票
  { url: 'pages/bussiness/orderDetail/index', needLogin: true },//购票详情
  { url: 'pages/bussiness/orderRecord/index', needLogin: true },//核销列表
  { url: 'pages/bussiness/orderRecordUser/index', needLogin: true },//核销列表
  //工具页面
  // { url: 'pages/tool/imagePreview/index', needLogin: false},//图片预览页面
  { url: 'pages/tool/richTextPage/index', needLogin: false},//富文本展示页面
  // { url: 'pages/tool/webViewPage/index', needLogin: false},//h5展示页面
  // { url: 'pages/tool/statusPage/index', needLogin: false },// 各种状态页
]

export default {
  pages: mainPageList.map(val => val.url),
  tabBar: {
    custom: true,
    color: "#ADB2BF",
    selectedColor: "#1D94E8",
    list: [
      {
        pagePath: "pages/tabbar/index/index",
        text: "首页",
        iconPath: "static/images/tabBar/home.png",
        selectedIconPath: "static/images/tabBar/home1.png",
        icon:"shouye1",
        currentIcon:'shouye'
      },
      {
        pagePath: "pages/tabbar/mine/index",
        text: "我的",
        iconPath: "static/images/tabBar/mine.png",
        selectedIconPath: "static/images/tabBar/mine1.png",
        icon:"wode1",
        currentIcon:'wode'
      }
    ]
  },
  window: {
    backgroundTextStyle: 'light',
    navigationBarBackgroundColor: '#fff',
    navigationBarTitleText: 'WeChat',
    navigationBarTextStyle: 'black'
  },
  permission: {
    "scope.userLocation": {
      desc: "我们需要根据您的地理位置，给您推荐附近的订单、规划路线"
    }
  },
  requiredPrivateInfos: [
    "getLocation",
  ]
}
